/* 顶部控制栏样式 - 统一在一个栏内 */
.control-bar {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0 20px;
    height: 40px;
    z-index: 998;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
}

/* 工具栏分隔线 */
.toolbar-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 4px;
}

/* 控制项 */
.control-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.control-item label {
    font-size: 16px;
}

/* 可折叠模块 */
.control-section {
    margin-bottom: 8px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.section-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toggle-icon {
    font-size: 10px;
    transition: transform 0.2s;
    color: rgba(255, 255, 255, 0.6);
}

.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 10px;
}

.section-content.expanded {
    max-height: 500px;
    padding: 8px 10px;
}

/* 场景下拉选择框 - 已移除 */

/* 工具栏按钮 */
.toolbar-btn {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toolbar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.toolbar-btn:active {
    transform: translateY(0);
}

/* 比例尺按钮 - 正方形样式 */
.toolbar-btn-scale {
    padding: 6px 8px;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 6px;
}

.toolbar-btn-scale.active {
    background: rgba(100, 150, 255, 0.4);
    border-color: rgba(100, 150, 255, 0.6);
    box-shadow: 0 0 10px rgba(100, 150, 255, 0.3);
}

.toolbar-btn-scale.active:hover {
    background: rgba(100, 150, 255, 0.5);
    border-color: rgba(100, 150, 255, 0.7);
}

/* 参考地面按钮 - 正方形样式 */
.toolbar-btn-ground {
    padding: 6px 8px;
    width: 36px;
    height: 36px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border-radius: 6px;
}

.toolbar-btn-ground.active {
    background: rgba(100, 200, 100, 0.4);
    border-color: rgba(100, 200, 100, 0.6);
    box-shadow: 0 0 10px rgba(100, 200, 100, 0.3);
}

.toolbar-btn-ground.active:hover {
    background: rgba(100, 200, 100, 0.5);
    border-color: rgba(100, 200, 100, 0.7);
}

/* Transform 按钮组 */
.toolbar-btn-group {
    display: flex;
    gap: 4px;
    padding: 2px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.toolbar-btn-group .toolbar-btn {
    padding: 6px 12px;
    min-width: 70px;
}

.toolbar-btn.active {
    background: rgba(100, 150, 255, 0.4);
    border-color: rgba(100, 150, 255, 0.6);
    box-shadow: 0 0 10px rgba(100, 150, 255, 0.3);
}

.toolbar-btn.active:hover {
    background: rgba(100, 150, 255, 0.5);
    border-color: rgba(100, 150, 255, 0.7);
}

/* 项目名和场景名固定宽度，超出显示省略号 */
#current-project-name,
#current-scene-name {
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

/* 信息文本 */
.info-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

#scene-info {
    margin-top: 4px;
}

/* 提示项 */
.tip-item {
    font-size: 11px;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* 操作按钮 */
.action-button {
    width: 100%;
    padding: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 兼容旧版样式 */
#controls h2 {
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

/* 场景切换按钮 */
.scene-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.scene-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.scene-btn.active {
    background: #4CAF50;
}

/* 场景信息 */
#info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #666;
    font-size: 12px;
    color: #aaa;
}

/* 相机操作提示 */
#camera-tips {
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 11px;
    line-height: 1.6;
}

#camera-tips .tip {
    margin: 3px 0;
}

/* 项目管理入口区域 */
#project-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#projectBtn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    position: relative;
    overflow: hidden;
}

#projectBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#projectBtn:hover::before {
    left: 100%;
}

#projectBtn:hover {
    background: linear-gradient(135deg, #f5a3fc 0%, #f7677c 100%) !important;
    box-shadow: 0 6px 16px rgba(245, 87, 108, 0.4) !important;
}

/* 管理员入口区域 */
#admin-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#adminBtn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
}

#adminBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#adminBtn:hover::before {
    left: 100%;
}

#adminBtn:hover {
    background: linear-gradient(135deg, #7c8df5 0%, #8a5cb8 100%) !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
}

/* 项目管理面板 */
/* 项目管理面板背景遮罩 */
#project-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1999;
}

#project-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.panel-header h2 {
    margin: 0;
    font-size: 20px;
    border: none;
    padding: 0;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.panel-body {
    padding: 10px 15px 15px 15px;
    overflow-y: auto;
    overflow-x: hidden; /* 禁止横向滚动 */
    flex: 1;
}

/* 美化所有panel-body的滚动条 */
.panel-body::-webkit-scrollbar {
    width: 8px;
}

.panel-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.panel-body::-webkit-scrollbar-thumb {
    background: rgba(108, 204, 153, 0.3);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 204, 153, 0.5);
}

.current-project-info h3,
.project-list-section h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.project-card.current {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(56, 142, 60, 0.2) 100%);
    border-color: #4CAF50;
    cursor: default;
}

.project-card.current:hover {
    transform: none;
}

.project-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.default-badge {
    display: inline-block;
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(156, 39, 176, 0.3);
}

.mode-badge {
    display: inline-block;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 6px;
}

.mode-badge.edit {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.mode-badge.presentation {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.btn-mode {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
}

.project-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.project-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.project-actions button {
    padding: 5px 12px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-switch {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.btn-edit {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-delete {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.btn-default {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    color: white;
}

.btn-switch:hover,
.btn-edit:hover,
.btn-delete:hover,
.btn-default:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.project-list {
    max-height: 300px;
    overflow-y: auto;
}

.loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.project-list-section {
    margin-top: 25px;
}

/* 场景管理面板样式 */
.scene-manage-modal {
    width: 90% !important;
    max-width: 1000px !important;
    max-height: 85vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.scene-manage-modal * {
    box-sizing: border-box;
}

.scene-manage-modal .panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.scene-manage-modal .panel-header h2 {
    margin: 0;
    font-size: 20px;
}

.scene-manage-modal .panel-body {
    padding: 20px 25px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scene-list-section {
    margin-top: 0;
}

.scene-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.scene-list::-webkit-scrollbar {
    width: 6px;
}

.scene-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.scene-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.scene-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.scene-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.scene-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.scene-card.current {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-color: #667eea;
}

.scene-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
    width: 100%;
}

.scene-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.scene-info {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.scene-name {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    word-break: break-word;
    overflow-wrap: break-word;
}

.default-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.scene-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
}

.scene-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.scene-actions button {
    padding: 6px 14px;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-scene-switch {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-scene-default {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
}

.btn-scene-edit {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

.btn-scene-delete {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
}

.btn-scene-switch:hover,
.btn-scene-default:hover,
.btn-scene-edit:hover,
.btn-scene-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Modal 样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(30, 30, 30, 0.95);
    padding: 0;
    border-radius: 12px;
    max-width: 1000px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

.modal-content.modal-large {
    width: 90% !important;
    max-width: 1000px !important;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

/* 📌 更灵活的弹窗尺寸选项 - 可按需使用 */
.modal-content.modal-xlarge {
    width: 95% !important;
    max-width: 1400px !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.modal-content.modal-full {
    width: 98% !important;
    max-width: 1800px !important;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal-content.modal-custom-width {
    /* 不设置 max-width，允许通过内联样式或其他方式自定义 */
    width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 通用的 modal 关闭按钮样式 */
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 100, 100, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: rgba(255, 100, 100, 0.6);
    color: white;
    transform: rotate(90deg);
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#model-library-manage-modal .modal-header-actions .action-btn {
    margin: 0;
    padding: 8px 16px;
    font-size: 14px;
    height: 32px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#model-library-manage-modal .modal-header-actions .close-btn {
    margin: 0;
}

.modal-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 10px;
    color: #8ba0ff;
    font-size: 12px;
    font-weight: 600;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-primary, .btn-secondary {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 设置面板 */
.settings-list {
    padding: 10px 0;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.setting-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.setting-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.setting-info {
    flex: 1;
}

.setting-title {
    font-size: 15px;
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
}

.setting-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.setting-arrow {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.4);
}

/* 设置分组 */
.setting-section {
    margin-bottom: 20px;
}

.setting-section-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding: 0 15px;
}

.setting-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* 行内设置项（带开关） */
.setting-item-inline {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}

.setting-control {
    margin-left: auto;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

/* 参数面板 */
.setting-params {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 参数帮助信息 */
.param-help {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}

.param-help-title {
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 10px;
}

.param-help-content {
    font-size: 12px;
}

.param-help-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.param-help-label {
    color: rgba(255, 255, 255, 0.6);
    min-width: 80px;
}

.param-help-value {
    color: #667eea;
    font-weight: 600;
    min-width: 40px;
}

.param-help-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.param-help-tip {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    line-height: 1.5;
}

/* 预设按钮组 */
.param-presets {
    margin: 15px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.param-presets-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.btn-preset {
    padding: 6px 12px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 6px;
    margin-bottom: 6px;
}

.btn-preset:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
    transform: translateY(-1px);
}

.btn-preset:active {
    transform: translateY(0);
}

.param-group {
    margin-bottom: 15px;
}

.param-group:last-of-type {
    margin-bottom: 20px;
}

.param-group label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.param-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.param-control input[type="range"] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.param-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: all 0.2s;
}

.param-control input[type="range"]::-webkit-slider-thumb:hover {
    background: #7c94f5;
    transform: scale(1.2);
}

.param-control input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.param-control input[type="range"]::-moz-range-thumb:hover {
    background: #7c94f5;
    transform: scale(1.2);
}

.param-value {
    min-width: 30px;
    text-align: right;
    font-size: 13px;
    color: white;
    font-weight: 500;
}

.param-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-small.btn-primary {
    background: #667eea;
    color: white;
}

.btn-small.btn-primary:hover {
    background: #7c94f5;
    transform: translateY(-1px);
}

.btn-small.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-small.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 模式切换按钮 - 已移除 */

/* 模型库面板 - 页面右侧显示 */
/* 注意：场景树面板使用 .side-panel.left-panel，模型库使用 .side-panel.right-panel */
/* 此样式仅用于模型库面板的默认隐藏状态 */
#model-library-panel.side-panel {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 420px; /* 从 350px 增加到 420px，提供更多空间 */
    height: 75vh;
    max-height: calc(100vh - 120px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#model-library-panel.side-panel.show {
    display: flex;
}

.side-panel .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-panel .panel-header h3 {
    margin: 0;
    font-size: 18px;
    color: white;
}

.panel-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.manage-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.manage-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.side-panel .panel-body {
    flex: 1;
    overflow: hidden;
    padding: 6px 6px 10px 6px;
    display: flex;
    flex-direction: column;
    min-height: 0;
}


/* 模型库面板标签页 */
.panel-tabs {
    display: flex;
    gap: 3px;
    padding: 3px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    font-size: 10px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: rgba(102, 126, 234, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 7px;
    color: #8ba0ff;
    font-size: 8px;
    font-weight: 600;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.6);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.tab-btn.active .tab-count {
    background: rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
    color: #a5b9ff;
}

.tab-panel {
    display: none;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden; /* 禁止横向滚动 */
    min-height: 0;
}

.tab-panel.active {
    display: flex;
    flex-direction: column;
}

.tab-panel::-webkit-scrollbar {
    width: 6px;
}

.tab-panel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.tab-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.resource-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* 使用较小的最小值以适应窄屏 */
    gap: 10px;
    padding: 0;
    margin: 0;
    overflow-y: auto; /* 仅允许垂直滚动 */
    overflow-x: hidden; /* 禁止横向滚动 */
    width: 100%; /* 确保占满容器宽度 */
}

.resource-item {
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: move;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
}

.resource-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 700;
    font-size: 11px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.resource-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2), 0 0 0 1px rgba(102, 126, 234, 0.1);
}

.resource-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

/* 🎯 模型加载状态样式 - 未下载模型置灰，但下载按钮不受影响 */
.resource-item.model-unloaded {
    /* ⚠️ 不在父元素设置opacity，避免影响按钮 */
    border-color: rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
    cursor: default !important;
}

/* 只对子元素单独设置透明度和滤镜，不影响按钮 */
.resource-item.model-unloaded .resource-name {
    opacity: 0.6;
}

.resource-item.model-unloaded .resource-number {
    opacity: 0.5;
    filter: grayscale(60%);
}

.resource-item.model-unloaded .resource-info {
    opacity: 0.65;
}

.resource-item.model-unloaded:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

.resource-item.model-loading {
    border-color: rgba(255, 193, 7, 0.5);
    background: rgba(255, 193, 7, 0.05);
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.6;
    position: relative;
}

.resource-item.model-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.15) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.resource-item.model-loaded {
    border-color: rgba(76, 175, 80, 0.3);
}

.resource-item.model-error {
    border-color: rgba(244, 67, 54, 0.5);
    background: rgba(244, 67, 54, 0.05);
}

/* 🎯 模型下载中状态 */
.resource-item.model-downloading {
    border-color: rgba(33, 150, 243, 0.5);
    background: rgba(33, 150, 243, 0.05);
    position: relative;
}

.resource-item.model-downloading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(33, 150, 243, 0.15) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

/* 模型状态指示器 */
/* 🎯 不再使用状态指示器，已隐藏避免与下载按钮重叠 */
.model-status {
    display: none !important;
}

/* 🎯 去掉放大缩小动画，只保留透明度变化 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* 🎯 模型下载按钮 - 高亮美化版 */
.model-download-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.7), rgba(25, 118, 210, 0.6));
    color: #ffffff;
    border: 2px solid rgba(33, 150, 243, 1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    white-space: nowrap;
    box-shadow: 
        0 4px 12px rgba(33, 150, 243, 0.6), 
        0 0 25px rgba(33, 150, 243, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    opacity: 1 !important;
    filter: none !important;
    isolation: isolate;
}

.model-download-btn:hover {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(25, 118, 210, 0.8));
    border-color: rgba(66, 165, 245, 1);
    box-shadow: 
        0 6px 20px rgba(33, 150, 243, 0.8), 
        0 0 35px rgba(33, 150, 243, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    /* 去掉任何放大缩小效果 */
}

.model-download-btn.downloading {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.7), rgba(211, 47, 47, 0.6));
    border-color: rgba(244, 67, 54, 1);
    color: #ffffff;
    box-shadow: 
        0 4px 12px rgba(244, 67, 54, 0.6), 
        0 0 25px rgba(244, 67, 54, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    /* 去掉下载时的动效 */
}

.model-download-btn.downloading:hover {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(211, 47, 47, 0.8));
    border-color: rgba(239, 83, 80, 1);
    box-shadow: 
        0 6px 20px rgba(244, 67, 54, 0.8), 
        0 0 35px rgba(244, 67, 54, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    /* 去掉任何放大缩小效果 */
}

/* 拖拽名称标签 */
.drag-name-label {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 14px;
    color: white;
    font-weight: 600;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.6);
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.resource-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.resource-name {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 模型标签样式 */
.model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.model-tag {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    color: rgba(102, 126, 234, 0.95);
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.model-tag:hover {
    background: rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
}

/* 模型大小显示样式 */
.model-size {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.panel-info {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    margin-top: auto;
    flex-shrink: 0;
}


/* 场景按钮容器 */
#scene-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

#scene-buttons .loading {
    text-align: center;
    padding: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* ============ 模型库管理弹窗样式 ============ */
.manage-tabs {
    display: flex;
    gap: 10px;
    padding: 15px 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.manage-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.manage-tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.manage-tab-btn.active {
    color: white;
    border-bottom-color: #667eea;
}

.manage-tab-panel {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.manage-tab-panel.active {
    display: flex;
}

.manage-toolbar {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.manage-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 280px));
    gap: 15px;
    max-height: 100%;
    overflow-y: auto;
    padding: 10px;
    flex: 1;
    align-content: start;
}

.manage-list::-webkit-scrollbar {
    width: 8px;
}

.manage-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.manage-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.4);
    border-radius: 4px;
}

.manage-list::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.6);
}

.manage-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    flex-direction: column;
}

.manage-item-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    color: white;
    font-weight: 700;
    font-size: 11px;
    z-index: 10;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    padding-bottom: 7px;
    padding-right: 7px;
}

.manage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.manage-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.manage-item-icon {
    font-size: 32px;
}

.manage-item-actions {
    display: flex;
    gap: 5px;
}

.manage-item-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.manage-item-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.manage-item-btn.delete {
    background: rgba(245, 87, 108, 0.2);
    border-color: rgba(245, 87, 108, 0.3);
}

.manage-item-btn.delete:hover {
    background: rgba(245, 87, 108, 0.4);
}

.manage-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.manage-item-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.manage-item-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* 模型依赖信息 */
.manage-item-dependency {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.dependency-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.dependency-icon {
    font-size: 16px;
}

.dependency-num {
    font-weight: 600;
    color: #667eea;
}

.dependency-view-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    color: #667eea;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.dependency-view-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    color: #8ba0ff;
}

/* 依赖详情弹窗 */
#model-dependency-modal .modal-content,
#model-dependency-modal .dependency-modal-content {
    max-width: 800px !important;
    width: 90vw !important;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

#model-dependency-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#model-dependency-modal .modal-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    margin: 0;
    font-size: 18px;
}

.dependency-modal-title-text {
    color: rgba(255, 255, 255, 0.95);
}

.dependency-modal-count {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.4);
    border-radius: 12px;
    color: #667eea;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

#model-dependency-modal .modal-close {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 100, 100, 0.15);
    border: 1px solid rgba(255, 100, 100, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#model-dependency-modal .modal-close:hover {
    background: rgba(255, 100, 100, 0.3);
    border-color: rgba(255, 100, 100, 0.6);
    color: white;
    transform: rotate(90deg);
}

/* 删除确认模态框的关闭按钮样式 */
.delete-confirm-modal .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 85, 85, 0.2) 100%);
    border: 1.5px solid rgba(255, 107, 107, 0.35);
    color: rgba(255, 255, 255, 0.9);
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.15);
    position: relative;
    overflow: hidden;
}

.delete-confirm-modal .modal-close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.delete-confirm-modal .modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(255, 85, 85, 0.4) 100%);
    border-color: rgba(255, 107, 107, 0.65);
    color: white;
    transform: rotate(90deg) scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3), 0 0 20px rgba(255, 107, 107, 0.2);
}

.delete-confirm-modal .modal-close:hover::before {
    width: 100%;
    height: 100%;
}

.delete-confirm-modal .modal-close:active {
    transform: rotate(90deg) scale(0.95);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

#model-dependency-modal .dependency-modal-body {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.dependency-loading {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.dependency-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dependency-item {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
}

.dependency-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.dependency-item-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.1));
    border: 2px solid rgba(102, 126, 234, 0.5);
    border-radius: 8px;
    color: #8ba0ff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    transition: all 0.3s;
}

.dependency-item:hover .dependency-item-number {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(102, 126, 234, 0.15));
    border-color: rgba(102, 126, 234, 0.7);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.dependency-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dependency-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dependency-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    min-width: 50px;
}

.dependency-value {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 14px;
}

.dependency-path {
    color: rgba(102, 126, 234, 0.9);
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.dependency-id {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.4);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    margin-left: auto;
}

.modal-large .modal-body {
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 10px 20px 20px 20px;
}

.manage-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.manage-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    line-height: 1.6;
}

/* ============ 批量上传队列弹窗样式 ============ */
/* 使用更具体的选择器以覆盖 .modal-content 的通用样式 */
.modal-content.upload-queue-content {
    max-width: 1400px !important; /* 增加到两倍宽度，使用 !important 确保优先级 */
    width: 95vw !important; /* 确保在小屏幕上自适应 */
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.upload-queue-content .modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

.upload-queue-section {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 60px; /* 为上传完成提示留出空间 */
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.queue-title {
    font-size: 14px;
    font-weight: 500;
    color: white;
}

.small-btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* 自定义确认对话框 */
.confirm-dialog-content {
    max-width: 450px;
    width: 90%;
}

.confirm-dialog-message {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* 表单组件 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(100, 150, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

.btn-danger {
    background: linear-gradient(135deg, #f44336, #e53935) !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e53935, #d32f2f) !important;
    transform: translateY(-2px);
}

/* 管理窗口消息提示 */
.manage-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999;
    min-width: 300px;
    max-width: 500px;
    padding: 12px 20px;
    background: rgba(76, 175, 80, 0.95);
    border: 1px solid rgba(76, 175, 80, 1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDownFloat 0.3s ease-out;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.manage-message.error {
    background: rgba(244, 67, 54, 0.95);
    border-color: rgba(244, 67, 54, 1);
}

.manage-message-icon {
    font-size: 18px;
    line-height: 1;
}

.manage-message-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideDownFloat {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 上传完成提示 */
.upload-complete-message {
    position: absolute;
    top: -55px; /* 移到队列列表上方，避免遮挡 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    min-width: 320px;
    max-width: 90%;
    padding: 12px 18px; /* 稍微减小内边距 */
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(129, 199, 132, 0.95));
    border: 2px solid rgba(76, 175, 80, 1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDownFloat 0.5s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.upload-complete-message.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.95), rgba(239, 83, 80, 0.95));
    border-color: rgba(244, 67, 54, 1);
}

.upload-complete-message .complete-icon {
    font-size: 24px;
    line-height: 1;
}

.upload-complete-message .complete-text {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.upload-queue-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.upload-queue-list::-webkit-scrollbar {
    width: 6px;
}

.upload-queue-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.upload-queue-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.queue-empty {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.queue-item-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.1));
    border: 2px solid rgba(102, 126, 234, 0.4);
    border-radius: 6px;
    color: #8ba0ff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.queue-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.4);
}

.queue-item.uploading {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.5);
}

.queue-item.success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.5);
}

.queue-item.error {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.5);
}

.queue-item-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.queue-item-info {
    flex: 1;
    min-width: 0;
}

.queue-item-name {
    font-size: 14px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.queue-item-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    gap: 10px;
}

.queue-item-progress {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-item-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.queue-item-progress-bar.success {
    background: rgba(76, 175, 80, 0.2);
}

.queue-item-progress-bar.error {
    background: rgba(244, 67, 54, 0.2);
}

.queue-item-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.queue-item-progress-bar.success .queue-item-progress-fill {
    background: #4caf50;
}

.queue-item-progress-bar.error .queue-item-progress-fill {
    background: #f44336;
}

.queue-item-progress-text {
    font-size: 11px;
    color: #667eea;
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

.queue-item.success .queue-item-progress-text {
    color: #4caf50;
}

.queue-item.error .queue-item-progress-text {
    color: #f44336;
}

.queue-item-status {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.queue-item-status.uploading {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.queue-item-status.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.queue-item-status.error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.queue-item-remove {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.queue-item-remove:hover {
    background: rgba(244, 67, 54, 0.4);
    transform: scale(1.05);
}

.current-upload-progress {
    padding: 15px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 8px;
}

.progress-header {
    font-size: 13px;
    font-weight: 500;
    color: #667eea;
    margin-bottom: 12px;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============ 上传进度弹窗样式 ============ */
.upload-progress-content {
    max-width: 500px;
}

.upload-status {
    padding: 20px 0;
}

.upload-file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.upload-icon {
    font-size: 48px;
}

.upload-file-details {
    flex: 1;
}

.upload-file-name {
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin-bottom: 5px;
    word-break: break-all;
}

.upload-file-size {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.upload-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.upload-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.upload-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

#upload-percent-text {
    font-weight: 600;
    color: #667eea;
}

.upload-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.upload-status.success .upload-icon {
    animation: successBounce 0.5s ease;
}

.upload-status.error .upload-icon {
    animation: errorShake 0.5s ease;
}

@keyframes successBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ===============================================
   模型库和节点库标签筛选美化样式
   =============================================== */

/* 筛选区域容器 */
.model-filter-section {
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 搜索框容器 */
.model-search-box {
    position: relative;
    margin-bottom: 12px;
}

#model-search-input,
#node-search-input {
    width: 100%;
    padding: 8px 32px 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

#model-search-input::placeholder,
#node-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

#model-search-input:focus,
#node-search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.search-clear-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* 标签筛选容器 */
.model-tags-filter {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
}

/* 标签筛选头部 */
.tags-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tags-filter-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 清除筛选按钮 */
.clear-filter-btn {
    padding: 4px 10px;
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.25);
    border-radius: 4px;
    color: rgba(255, 59, 48, 0.9);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filter-btn:hover {
    background: rgba(255, 59, 48, 0.2);
    border-color: rgba(255, 59, 48, 0.4);
    color: #ff3b30;
    transform: translateY(-1px);
}

.clear-filter-btn:active {
    transform: translateY(0);
}

/* 标签列表容器 */
.tags-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-height: 200px;
    overflow-y: auto;
    padding: 2px;
}

/* 标签列表滚动条美化 */
.tags-filter-list::-webkit-scrollbar {
    width: 4px;
}

.tags-filter-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.tags-filter-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.tags-filter-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 模型库标签项（带计数） */
.tag-filter-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 16px;
    color: rgba(102, 126, 234, 0.95);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tag-filter-item:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.tag-filter-item:active {
    transform: translateY(0);
}

.tag-filter-item.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
}

/* 标签计数 */
.tag-count {
    margin-left: 4px;
    font-size: 11px;
    opacity: 0.75;
    font-weight: 400;
}

/* 节点库标签按钮（无计数） */
.tag-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 16px;
    color: rgba(102, 126, 234, 0.95);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    outline: none;
}

.tag-filter-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.tag-filter-btn:active {
    transform: translateY(0);
}

.tag-filter-btn.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
}

/* 空状态 */
.tags-filter-list-empty,
.tags-filter-empty {
    padding: 12px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}